package com.arron.iterator;

import java.util.ArrayList;
import java.util.Arrays;

public class Client {
    public static void main(String[] args) {
        //创建学院
        ArrayList<College> collegeArrayList = new ArrayList<College>();
        ComputerCollege computerCollege = new ComputerCollege();
        InfoCollege infoCollege = new InfoCollege();
        collegeArrayList.add(computerCollege);
        collegeArrayList.add(infoCollege);
        OutputImpl output = new OutputImpl(collegeArrayList);
        output.printCollege();
    }
}
